package cn.edu.tju.scs.leave.entity;

import java.util.Date;
import java.util.List;

/**
 * Created by haoxiaotian on 2016/9/4 17:03.
 */
public class Menu {
    private int id;
    private String name;
    private String icon;
    private int parentId;
    private String url;
    private byte sortNum;
    private byte accordion;
    private Date createTime;
    private Date updateTime;
    private byte deleteMark;

    private List<Menu> seconds;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public byte getSortNum() {
        return sortNum;
    }

    public void setSortNum(byte sortNum) {
        this.sortNum = sortNum;
    }

    public byte getAccordion() {
        return accordion;
    }

    public void setAccordion(byte accordion) {
        this.accordion = accordion;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public byte getDeleteMark() {
        return deleteMark;
    }

    public void setDeleteMark(byte deleteMark) {
        this.deleteMark = deleteMark;
    }

    public List<Menu> getSeconds() {
        return seconds;
    }

    public void setSeconds(List<Menu> seconds) {
        this.seconds = seconds;
    }
}
